home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / midi / omed_pt.lha / rexx / f7.omed < prev    next >
Text File  |  1995-11-25  |  662b  |  36 lines

  1. /* F7 - Case 28-10-95 */
  2.  
  3. address OCTAMED_REXX
  4. options results
  5.  
  6. call open("f_keys","T:f_keys.omedtemp",R)
  7. f6 = readln("f_keys")
  8. f7 = readln("f_keys")
  9. call close("f_keys")
  10.  
  11. 'rn_isranged var rn_state'
  12.  
  13. if rn_state = 0
  14.     then do
  15.         'ed_goto line' f7
  16.         exit
  17.     end
  18. else
  19.     call open("rn_begin","T:rn_begin.omedtemp",R)
  20.     rn_begin = readln("rn_begin")
  21.     call close("rn_begin")
  22.  
  23.     'ed_goto line' f7
  24.     'ed_getcurrtrack var currtrack'
  25.  
  26.     if f7 >= rn_begin
  27.         then do
  28.             rnstartline = rn_begin
  29.             rnendline = f7
  30.         end
  31.         else do
  32.             rnstartline = f7
  33.             rnendline = rn_begin
  34.         end
  35.     'rn_setrange starttrack' currtrack 'startline' rnstartline 'endtrack' currtrack 'endline' rnendline
  36. exit